Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue fetching data from hardcoded server #1666

Conversation

mrpalide
Copy link
Contributor

@mrpalide mrpalide commented Oct 24, 2023

Did you run make format && make check? Yes

Fixes #1665 #1631

Changes:

  • change services on config structure from pointer to actual variable (fix nil pointer issue there)
  • improve condition on read from servers

How to test this PR:

  • on line 493 of cmd > skywire-cli > commands > config > gen.go replace serviceConfURL with arbitrary text for get error on trying to fetch
  • build and trying to generate config by ./build/skywire-cli config gen and check output, should be done without any panic and error

@jdknives jdknives merged commit b6cad4e into skycoin:develop Nov 2, 2023
3 checks passed
@mrpalide mrpalide deleted the fix/handle-issue-on-fetch-data-for-generate-config branch March 26, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic on fetch data from conf services panic on skywire-cli config gen (during deployment outage)
2 participants